package com.xiaoyu.cloudmusic.service;

import com.xiaoyu.cloudmusic.dao.OthersMapper;
import com.xiaoyu.cloudmusic.pojo.Banner;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OthersServiceImpl implements OthersService{
    @Autowired
    OthersMapper othersMapper;
    @Override
    public List<Banner> getAllBanners() {
        return othersMapper.getAllBanners();
    }
}
